package com.cp.helper.dao.impl;

import com.cp.helper.bean.TagCategory;
import com.cp.helper.dao.BaseDaoSupport;
import org.springframework.stereotype.Repository;

/**
 * @描述:自动生成的TagCategory
 * @Author : chenpeng
 * @Date : 2015-10-22 20:58:13
 */
@Repository
public class TagCategoryDao extends BaseDaoSupport<TagCategory> {
    public TagCategoryDao() {
        super.setClassName("TagCategory");
    }

    //根据主键更新特定值
    public Integer updateUserIdById(TagCategory tagCategory) {
        return this.getSqlMapClientTemplate().update("TagCategory.updateUserIdById", tagCategory);
    }

    public Integer updateCategoryNameById(TagCategory tagCategory) {
        return this.getSqlMapClientTemplate().update("TagCategory.updateCategoryNameById", tagCategory);
    }


}
